package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_coupon
 */
@TableName(value ="tb_coupon")
@Data
public class TbCoupon implements Serializable {
    /**
     * 优惠券id
     */
    @TableId(type = IdType.AUTO)
    private Integer couponId;

    /**
     * 优惠券名称
     */
    private String couponName;

    /**
     * 金额
     */
    private BigDecimal amountPrice;

    /**
     * 折扣金额
     */
    private BigDecimal discountPrice;

    /**
     * 优惠券状态
     */
    private Integer couponStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}